/*
 * @Author: hlr
 * @Date: 2021-06-10 17:03:35
 * @LastEditTime: 2021-06-15 09:15:20
 * @LastEditors: hlr
 * @Description: 一个带着category和产品的表
 */

import { BaseEntity } from './base.entity'
import { Entity, Column } from 'typeorm'

@Entity('category_product')
export class categoryProduct extends BaseEntity {
  @Column()
  type_name: string

  @Column()
  category_name: string

  @Column('text')
  product_name: string

  @Column('text')
  img_url: string

  @Column('text')
  img_url_webp: string

  @Column()
  action_type: string

  @Column()
  action_path: string
}
